﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Sl.OperatorUnitManagement.Util
{
    public  class UIManage
    {
        private UIManage(){ }

        static UIManage uiManage = new UIManage();

        public static UIManage GetInstanct()
        {
            return uiManage;
        }
        

        private  MainPage mPage  ;

        public MainPage MPage
        {
            get {
                if (mPage == null)
                {
                    mPage = new MainPage();
                }
                return mPage; 
            }
            
        } 

        public string GetUrl(UI ui)
        {
            string url = string.Empty;

            if (ui == UI.AccountManageMent)
            {
                url = @"/CompetenceSetPaeg/AccountManagement/AccountManagementPage.xaml";

            }
            return url;
        }
         
    }

    public enum UI
    {
        AccountManageMent
    }
}
